package org.come.control;

import org.come.Frame.FactionMainJframe;
import org.come.action.FromServerAction;
import org.come.bean.GangResultBean;
import org.come.until.FormsManagement;
import org.come.until.GsonUtil;

public class IntogangControl implements FromServerAction {

	@Override
	public void controlMessFromServer(String mes, String type) {
		GangResultBean gangResultBean = GsonUtil.getGsonUtil().getgson().fromJson(mes, GangResultBean.class);
		FactionMainJframe.getFactionMainJframe().getFactionMainJpanel().getFactionCardJpanel().showMessage(gangResultBean);
		FormsManagement.showForm(48);
	}
}
